package com.xiaozhichao.databafflesys.common.domain;

public enum ExceptionEnums {
	SUCCESS("success","Success"),
	DO_SUCCESS("success","操作成功"),
	DO_FAIL("fail","操作失败"),
	METHOD_NO_SUPPORT("method_no_support","方法不支持"),
	REQEUST_IS_NOT_NULL("REQEUST_IS_NOT_NULL", "request param header or body can't be null!"),
	SYSTEM_ERROR("SYSTEM_ERROR", "系统错误!")

	;
	
	private String code;
	private String msg;

	private ExceptionEnums(String code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	private ExceptionEnums() {
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

}
